﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace UIT.ScrumTool.DTO
{
     /// <summary>
      /// Actor Do Trung Vinh
      /// Doi tuong Task duoc dinh nghia de truyen di
      /// </summary>
    [DataContract]
    public class TaskDto
    {
        //thuoc tinh id lay thu tu cua bang task
        private int id;
        [DataMember]
        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        //thuoc tinh subject 
        private string subject;
        [DataMember]
        public string Subject
        {
            get { return subject; }
            set { subject = value; }
        }

        //thuoc tinh description
         private string description;
        [DataMember]
         public string Description
         {
             get { return description; }
             set { description=value; }
         }

        //thuoc tinh estimatedstorypoint
         private float estimatedStoryPoint;
        [DataMember]
         public float EstmatedStoryPoint
         {
             get { return estimatedStoryPoint; }
             set { estimatedStoryPoint=value; }
         }

        //thuoc tinh importance
         private int importance;
        [DataMember]
         public int Importance
         {
             get { return importance; }
             set { importance=value; }
         }

        //thuoc tinh state
         private int state;
        [DataMember]
         public int State
         {
             get { return state; }
             set { state=value; }
         }

        //thuoc tinh TaskBacklog
         private string taskBacklog;
        [DataMember]
         public string TaskBacklog
         {
             get { return taskBacklog; }
             set { taskBacklog=value; }
         }

        //thuoc tinh position left
         private float positionLeft;
        [DataMember]
         public float PostionLeft
         {
             get { return positionLeft; }
             set { positionLeft=value; }
         }

        //thuoc tinh positiontop
         private float positionTop;
        [DataMember]
         public float PositionTop
         {
             get { return positionTop; }
             set { positionTop=value; }
         }

        //thuoc tinh OperatorId
         private int operatorId;
        [DataMember]
         public int OperatorId
         {
             get { return operatorId; }
             set { operatorId=value; }
         }

        //thuoc tinh SprintId
         private int sprintId;
        [DataMember]
         public int SprintId
         {
             get { return sprintId; }
             set { sprintId=value; }
         }

        //thuoc tinh StoryPointsRemaining
         private float storyPointsRemaining;
        [DataMember]
         public float  StoryPointsRemaining
         {
             get { return storyPointsRemaining; }
             set { storyPointsRemaining=value; }
         }

        //thuoc tinh Timestamp
         private string timestamp;
        [DataMember]
         public string Timestamp
         {
             get { return timestamp; }
             set { timestamp=value; }
         }

        //thuoc tinh ParentTaskId
         private int parentTaskId;
        [DataMember]
         public int ParentTaskId
         {
             get { return parentTaskId; }
             set { parentTaskId=value; }
         }

        //thuoc tinh category
         private string category;
        [DataMember]
         public string Category
         {
             get { return category; }
             set { category=value; }
         }
        
        //thuoc tinh projectid
         private int projectId;
        [DataMember]
         public int ProjectId
         {
             get { return projectId; }
             set { projectId=value; }
         }

        //thuoc tinh backlogPositionLeft
         private float backlogPositionLeft;
        [DataMember]
         public float BackLogPositionLeft
         {
             get { return backlogPositionLeft; }
             set { backlogPositionLeft=value; }
         }

        //thuoc tinh backlogPostionTop
         private float backlogPositionTop;
        [DataMember]
         public float BackLogPositionTop
         {
             get { return backlogPositionTop; }
             set { backlogPositionTop=value; }
         }

        //thuoc tinh width
         private float width;
        [DataMember]
         public float Width
         {
             get { return width; }
             set { width=value; }
         }

        //thuoc tinh color
         private int color;
        [DataMember]
         public int Color
         {
             get { return color; }
             set { color=value; }
         }

        //thuoc tinh backlogDisplayStyle
         private int backlogDisplayStyle;
        [DataMember]
         public int BacklogDisplayStyle
         {
             get { return backlogDisplayStyle; }
             set { backlogDisplayStyle=value; }
         }

        //thuoc tinh releaseId
         private int releaseId;
        [DataMember]
         public int ReleaseId
         {
             get { return releaseId; }
             set { releaseId=value; }
         }

        //thuoc tinh estimatedDuration
         private float estimatedDuration;
        [DataMember]
         public float EstimatedDuration
         {
             get { return estimatedDuration; }
             set { estimatedDuration=value; }
         }

        //thuoc tinh height
         private float height;
        [DataMember]
        public float Height
        {
            get { return height; }
            set { height=value; }
        }

        //thuoc tinh orderInParent
        private int orderInParent;
        [DataMember]
        public int OrderInParent
        {
            get { return orderInParent; }
            set { orderInParent=value; }
        }

        //thuoc tinh tags
        private string tags;
        [DataMember]
        public string Tags
        {
            get { return tags; }
            set { tags=value; }
        }

        //thuoc tinh isDeleted
        private bool isDeleted;
        [DataMember]
        public bool IsDeleted
        {
            get { return isDeleted; }
            set { isDeleted=value; }
        }

        //thuoc tinh NegativeValue
        private float negativeValue;
        [DataMember]
        public float NegativeValue
        {
            get { return negativeValue; }
            set {negativeValue=value; }
        }

        //thuoc tinh positiveValue
        private float positiveValue;
        [DataMember]
        public float PositiveValue
        {
            get { return positiveValue; }
            set { positiveValue=value; }
        }

        //thuoc tinh risk
        private float risk;
         [DataMember]
        public float Risk
        {
            get { return risk; }
            set { risk=value; }
        }

        //thuoc tinh dependenciesIndex
        private int dependenciesIndex;
         [DataMember]
        public int DependenciesIndex
        {
            get { return dependenciesIndex; }
            set { dependenciesIndex=value; }
        }

        //thuoc tinh satisfaction
        private int satisfaction;
         [DataMember]
        public int Satisfaction
        {
            get { return satisfaction; }
            set { satisfaction=value; }
        }

        //thuoc tinh accepanceCriteria
        private float accepanceCriteria;
         [DataMember]
        public float AccepanceCriteria
        {
            get { return accepanceCriteria; }
            set { accepanceCriteria=value; }
        }

        //thuoc tinh type
        private float type;
         [DataMember]
        public float Type
        {
            get { return type; }
            set {type=value; }
        }

        //thuoc tinh lastEditDate
        private DateTime lastEditDate;
         [DataMember]
        public DateTime LastEditDate
        {
            get { return lastEditDate; }
            set { lastEditDate=value; }
        }

        //thuoc tinh creationeDate
        private DateTime creationeDate;
         [DataMember]
        public DateTime CreationeDate
        {
            get { return creationeDate; }
            set { creationeDate=value; }
        }

        //thuoc tinh lastModifiedBy
        private DateTime lastModifiedBy;
         [DataMember]
        public DateTime LastModifiedBy
        {
            get { return lastModifiedBy; }
            set { lastModifiedBy=value; }
        }

        //thuoc tinh completedDuration
        private float completedDuration;
         [DataMember]
        public float CompletedDuration
        {
            get { return completedDuration; }
            set { completedDuration=value; }
        }

        //thuoc tinh timeSpent
        private float timeSpent;
         [DataMember]
        public float TimeSpent
        {
            get { return timeSpent; }
            set { timeSpent=value; }
        }

        //thuoc tinh isFlagged
        private bool isFlagged;
         [DataMember]
        public bool IsFlagged
        {
            get { return isFlagged; }
            set { isFlagged=value; }
        }

        //thuoc tinh IsInternal
        private bool isInternal;
         [DataMember]
        public bool IsInternal
        {
            get { return isInternal; }
            set { isInternal=value; }
        }

        //thuoc tinh PersonalId
        private string personalId;
         [DataMember]
        public string PersonalId
        {
            get { return personalId; }
            set {personalId=value; }
        }

        //thuoc tinh Moscow
        private string moscow;
         [DataMember]
        public string Moscow
        {
            get { return moscow; }
            set { moscow=value; }
        }
    }
}
